{extend name="admin/public:layout" /}
{block name="title"}领取添加{/block}
{block name="head"}{/block}
{block name="body"}
<div class="wrapper wrapper-content">
    <div class="ibox">
        <div class="ibox-title">
            <ol class="breadcrumb">
                <li><i class="fa fa-hand-o-right"></i> <a href="{:url('receive')}"> 领取添加</a></li>
                <li class="active">添加领取</li>
            </ol>
        </div>
        <div class="ibox-content">
            <form method="post" class="form-horizontal" id="form">
                <div class="form-group">
                    <label class="col-sm-2 control-label Validform_label">会议名称</label>
                    <div class="col-sm-4">
                        <input type="hidden" name="meeting_id" value="{$meetingInfo.meeting_id}">
                        <input type="hidden" name="receive_id" value="{$info.receive_id}">
                        <input type="text" class="form-control" placeholder="会议名称"
                               name="" value="{$meetingInfo.meeting_name}" datatype="*" disabled />
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-sm-2 control-label Validform_label">领取名称</label>
                    <div class="col-sm-4">
                        <input type="text" class="form-control" placeholder="请输入领取名称"
                               name="receive_name" value="{$info.receive_name}" datatype="*" />
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label Validform_label">领取简介</label>
                    <div class="col-sm-4">
                        <textarea name="receive_content" class="form-control" id="" cols="30" rows="10" placeholder="请输入简单描述">{$info.receive_content}</textarea>
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-sm-10 col-sm-offset-2">
                        <button class="btn btn-primary" type="button" id="btnSub">保存内容</button>
                        <a href="{:url('index')}" class="btn btn-white">取消</a>
                        <span id="validError"></span>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
{/block}
{block name="script"}
<script type="text/javascript">
    $(function () {
        iCheck();
        formatDate();
        ajaxSubForm('#btnSub');
    })
</script>
{/block}